package com.wf.ew.quartz;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author : Doman
 * @version ：1.0
 * @date : 2020-02-07 14:04
 */
@Component
public class JKXStartupRunner implements CommandLineRunner {

    @Autowired
    public JKXCronSchedulerJob scheduleJobs;

    @Override
    public void run(String... args) throws Exception {
        scheduleJobs.scheduleJobs();
//        System.out.println(">>>>>>>>>>>>>>>定时任务开始执行 每天执行一次<<<<<<<<<<<<<");
    }
}